/**
 * output package name
 */
package com.kingdee.eas.crm.enumeration;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class BusinessStateEnum extends StringEnum
{
    public static final String SAVE_VALUE = "40";
    public static final String EXCUTE_VALUE = "30";
    public static final String WIN_VALUE = "10";
    public static final String LOSS_VALUE = "20";
    public static final String AUDIT_VALUE = "50";

    public static final BusinessStateEnum save = new BusinessStateEnum("save", SAVE_VALUE);
    public static final BusinessStateEnum excute = new BusinessStateEnum("excute", EXCUTE_VALUE);
    public static final BusinessStateEnum win = new BusinessStateEnum("win", WIN_VALUE);
    public static final BusinessStateEnum loss = new BusinessStateEnum("loss", LOSS_VALUE);
    public static final BusinessStateEnum audit = new BusinessStateEnum("audit", AUDIT_VALUE);

    /**
     * construct function
     * @param String businessStateEnum
     */
    private BusinessStateEnum(String name, String businessStateEnum)
    {
        super(name, businessStateEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static BusinessStateEnum getEnum(String businessStateEnum)
    {
        return (BusinessStateEnum)getEnum(BusinessStateEnum.class, businessStateEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(BusinessStateEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(BusinessStateEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(BusinessStateEnum.class);
    }
}